package cloud.maque.base.dingding.utils;

import cloud.maque.framework.conf.PlatformConfigProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zhuyf
 * @date 2023/3/3 14:40
 */
@Component
public class DomainHelper {

    @Autowired
    PlatformConfigProperties properties;


    public String GetUrl(String path) {
        return properties.getDingding().getApiUrl() + path;
    }
}
